package com.itheima.dao;

import com.itheima.pojo.Order;

import java.util.List;
import java.util.Map;

public interface OrderDao {
    public void add(Order order);
    public List<Order> findByCondition(Order order);
    public Map findById4Detail(Integer id);
    public Integer findOrderCountByDate(String date);
    public Integer findOrderCountAfterDate(String date);
    public Integer findVisitsCountByDate(String date);
    public Integer findVisitsCountAfterDate(String date);
    public List<Map> findHotSetmeal();
    public Integer findByOrderId(String telephone);
    Integer findByID(Integer id);


    List<Map> findAddress();

    List<Map<Object,Object>> findSetmealCountByDate(String startDates,String endDates);

    List<Map<String,Object>> findSetmealAndMemberName(Map<String,Object>map);

    Map<String, Object> findOrderDetail(Integer id);

    List<Order> findOrderByMemberId(Integer id);

    String findAddressById(Integer id);

    Integer findOrderidByMember(Integer id);
}
